package com.ruoyi.edh.mapper;

import java.util.List;
import com.ruoyi.edh.domain.EdhCommissionMix;

/**
 * 易订货-组建团队收益占比Mapper接口
 * 
 * @author xxx
 * @date 2020-09-23
 */
public interface EdhCommissionMixMapper 
{
    /**
     * 查询易订货-组建团队收益占比
     * 
     * @param id 易订货-组建团队收益占比ID
     * @return 易订货-组建团队收益占比
     */
    public EdhCommissionMix selectEdhCommissionMixById(Long id);

    /**
     * 查询易订货-组建团队收益占比列表
     * 
     * @param edhCommissionMix 易订货-组建团队收益占比
     * @return 易订货-组建团队收益占比集合
     */
    public List<EdhCommissionMix> selectEdhCommissionMixList(EdhCommissionMix edhCommissionMix);

    /**
     * 新增易订货-组建团队收益占比
     * 
     * @param edhCommissionMix 易订货-组建团队收益占比
     * @return 结果
     */
    public int insertEdhCommissionMix(EdhCommissionMix edhCommissionMix);

    /**
     * 修改易订货-组建团队收益占比
     * 
     * @param edhCommissionMix 易订货-组建团队收益占比
     * @return 结果
     */
    public int updateEdhCommissionMix(EdhCommissionMix edhCommissionMix);

    /**
     * 删除易订货-组建团队收益占比
     * 
     * @param id 易订货-组建团队收益占比ID
     * @return 结果
     */
    public int deleteEdhCommissionMixById(Long id);

    /**
     * 批量删除易订货-组建团队收益占比
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEdhCommissionMixByIds(Long[] ids);
}
